﻿using MicroCenter.Core;

using Microsoft.Extensions.DependencyInjection;

using MTP.Core;

namespace System
{
    public static class MicroCenterServicesExtensions
    {
        public static MtpOptions UseMicroCenter(this MtpOptions options)
        {
            options.Registry = services => ActivatorUtilities.CreateInstance<MicroCenterRegistry>(services);
            return options;
        }

    }
}
